package org.activequant.dao.hibernate;
import org.activequant.core.domainmodel.account.Position;
import org.activequant.dao.IPositionDao;
import org.hibernate.SessionFactory;


/**
* PositionDao extends DaoSupportBase&lt;Position&gt; implements IPositionDao.<br/>
* Holds the following inherited variables:
* <ul>
* <li>clazz(Class&lt;Position&gt;)</li>
* <li>hibernateTemplate(HibernateTemplate)</li>
* </ul>
* <br>
* <b>History:</b><br>
*  - [28.06.2007] Created (Erik Nijkamp)<br>
*
*  @author Erik Nijkamp
*/
public class PositionDao extends DaoSupportBase<Position> implements IPositionDao {
	/**
	 * Constructs a PositionDao(extends DaoSupportBase&lt;Position&gt; implements IPositionDao) whose inherited clazz(Class&lt;T&gt;) is set to <code>Position.class</code>.
	 */
	public PositionDao() {
		super(Position.class);
	}
	/**
	 * Constructs a PositionDao(extends DaoSupportBase&lt;Position&gt; implements IPositionDao) whose inherited clazz(Class&lt;T&gt;) is set to <code>Position.class</code>.<br/>
	 * The given sessionFactory(SessionFactory) is used to set its Hibernate SessionFactory and create/initialize the inherited hibernateTemplate(HibernateTemplate) for it.
	 * @param sessionFactory
	 */
	public PositionDao(SessionFactory sessionFactory) {
		super(Position.class, sessionFactory);
	}
}
